package com.ruoyi.eamp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪器设备对象 eamp_equipment
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编号 */
    private Long equipmentaId;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String equipmentName;

    /** 型号规格 */
    @Excel(name = "型号规格")
    private String equipmentGuige;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 仪器状态 */
    @Excel(name = "仪器状态")
    private Long status;

    /** 仪器使用状态 */
    @Excel(name = "仪器使用状态")
    private Long usestatus;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String equipmentLocal;

    /** 附件 */
    @Excel(name = "附件")
    private String attachments;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private Long deptId;

    /** 检定有效期 */
    @Excel(name = "检定有效期")
    private Long examineday;

    /** 主要技术指标 */
    @Excel(name = "主要技术指标")
    private String mainExamine;

    /** 删除(0删除 1正常) */
    @Excel(name = "删除(0删除 1正常)")
    private Long delFlg;

    public void setEquipmentaId(Long equipmentaId) 
    {
        this.equipmentaId = equipmentaId;
    }

    public Long getEquipmentaId() 
    {
        return equipmentaId;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentGuige(String equipmentGuige) 
    {
        this.equipmentGuige = equipmentGuige;
    }

    public String getEquipmentGuige() 
    {
        return equipmentGuige;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setUsestatus(Long usestatus) 
    {
        this.usestatus = usestatus;
    }

    public Long getUsestatus() 
    {
        return usestatus;
    }
    public void setEquipmentLocal(String equipmentLocal) 
    {
        this.equipmentLocal = equipmentLocal;
    }

    public String getEquipmentLocal() 
    {
        return equipmentLocal;
    }
    public void setAttachments(String attachments) 
    {
        this.attachments = attachments;
    }

    public String getAttachments() 
    {
        return attachments;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setExamineday(Long examineday) 
    {
        this.examineday = examineday;
    }

    public Long getExamineday() 
    {
        return examineday;
    }
    public void setMainExamine(String mainExamine) 
    {
        this.mainExamine = mainExamine;
    }

    public String getMainExamine() 
    {
        return mainExamine;
    }
    public void setDelFlg(Long delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Long getDelFlg() 
    {
        return delFlg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentaId", getEquipmentaId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentGuige", getEquipmentGuige())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("status", getStatus())
            .append("usestatus", getUsestatus())
            .append("equipmentLocal", getEquipmentLocal())
            .append("attachments", getAttachments())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .append("examineday", getExamineday())
            .append("mainExamine", getMainExamine())
            .append("delFlg", getDelFlg())
            .toString();
    }
}
